Empty Component
Overview
Empty state placeholder with custom image The Empty component display status will include a custom image, and the text No data below. You just need to pass in the correct image type for the state you want.
These are the types available in minimal-admin-template:
-
PRESENTED_IMAGE_DEFAULT
-
PRESENTED_IMAGE_BOOKING
-
PRESENTED_IMAGE_BANK
-
PRESENTED_IMAGE_SEARCH
-
PRESENTED_IMAGE_LINK
-
PRESENTED_IMAGE_EMAIL
When To Use
When there is no data provided, display for friendly tips. User tutorial to create something in fresh new situation.
How To Use
import { Empty } from 'components/CustomAntd';
<Empty image={Empty.PRESENTED_IMAGE_BANK} />